import ProxyInterface from '../proxy-interface';
import {ProjectPageModel} from '@pkpm/pkpm-types';

class ProjectPageProxy implements ProxyInterface<ProjectPageModel> {
    private projectPage = new ProjectPageModel();

    constructor(responseData) {
        let data = responseData || responseData;
        Object.assign<ProjectPageModel, ProjectPageModel>(this.projectPage, data);
    }

    public getModel(): ProjectPageModel {
        return this.projectPage;
    }
}

export {ProjectPageProxy};
